<div class="search">
    <div class="input"><input type="text" placeholder="点击搜索" data-find="keyword"/></div>
    <div class="btn" onclick="{{ search() }}">搜索</div>
</div>
{{if !data.isError}}
    <div class="sorts">
        {{if data.sorts.length>0}}
        {{list data.sorts as sort}}
        <div class="{{ sort.open?'sort open':'sort' }}">
            <div class="name" onclick="{{ toggle(sort) }}">
                <div class="desc">{{ sort.name }}</div>
                <div class="arrow"><i class=":for-keyboard_arrow_down"></i></div>
            </div>
            <div class="list">
                {{if sort.list.length>0}}
                    {{list sort.list as item}}
                    <a class="item" href="tel:{{ item.phone }}">
                        <div class="phone">{{ item.mc }}</div>
                        <div class="call">
                            <div>拨号</div>
                        </div>
                    </a>
                    {{/list}}
                {{else}}
                    <div class="noitem">没有相关电话</div>
                {{/if}}
            </div>
        </div>
        {{/list}}
        {{else}}
        <div class="noitem">没有相关电话</div>
        {{/if}}
    </div>
{{else}}
    <div class="noitem">获取数据失败</div>
{{/if}}